US President Donald Trump has said that talks with Iran are continuing to try to de-escalate tensions in the Gulf.