US President Donald Trump has said that following conversations with Ukrainian President Volodymyr Zelenskyy and Russian ruler Vladimir Putin, he believes there may be an opportunity to "do something" to end the war in Ukraine.