As fighting in Ukraine continues, US president says he will speak to his Russian counterpart to discuss ending the war.