The US president says the "show of good faith" could play a part in ending Russia's war in Ukraine.