Danny Ings scored twice as Burnley moved into second spot in the Championship with a 3-2 win over Huddersfield at Turf Moor on New Year's Day.