James Maddison and Harvey Barnes both struck in the first half as Leicester City beat Aston Villa in the Premier League.