US President Donald Trump has been moved to a military hospital after he tested positive for coronavirus.