President Donald Trump on Tuesday said he was extending a ceasefire with Iran to give more time for negotiations, but would maintain a US naval blockade of the country's ports.