MPs are to debate whether Donald Trump should or should not be banned from the UK, following two online petitions that attracted thousands of signatures.