US President Donald Trump said on Twitter late on Friday, after being hospitalised with COVID-19, that he thought he was doing well.