President Donald Trump has threatened to deport millions of immigrants living in the United States without legal permission.