Nico O'Reilly scored twice, securing a vital 2-1 win for Manchester City against Newcastle United and narrowing the gap on Premier League leaders Arsenal.