US President Donald Trump says Kyiv and Moscow have agreed to a temporary ceasefire and a major prisoner exchange amid continuing hostilities and growing international pressure for de-escalation.