US President Donald Trump and First Lady Melania Trump were taken out of the ballroom after gunshots were heard.