Donald Trump has announced he is directing the opening of a detention centre at Guantanamo Bay in Cuba to hold up to 30,000 migrants.