Members of the UK parliament are to hold a debate on President Donald Trump's controversial state visit.