A path towards peace in Ukraine will begin with a ceasefire on energy infrastructure, the US president and his Russian counterpart agreed.