Donald Trump has promised to deport thousands of immigrants, both undocumented and legal, when he takes office.