Goals from James Maddison and Ricardo Pereira confirmed Leicester City's place in the semi-finals of the UEFA Europa Conference League.