West Ham boss Sam Allardyce accused the officials of costing his side a famous victory against Manchester United after a 2-2 draw at Upton Park.