Eden Hazard put in a man of the match performance to help Chelsea to a 2-1 win over West Ham at the London Stadium.