President Donald Trump is ending a programme that's protected thousands of undocumented immigrants who entered the US as children.