The US says Ukraine has accepted a ceasefire proposal and agreed to start negotiations to end the war with Russia.