Donald Trump has signed an executive order promising to 'keep families together' amid fury over separation of migrant families.