US President Barack Obama has said a ceasefire in Ukraine could only be effective if Russia stopped "pretending" it was not active in the conflict and stopped sending troops and weapons into the country.