Nationals from 12 countries have been banned from entering the US in Trump's latest immigration crackdown.