Obama tells Abbas risks for peace are needed