West Ham United cruised to a comfortable 2-0 win on a wet Sunday afternoon as Manuel Pellegrini's men controlled visitors Manchester United.