Robert Lewandowski reached 30 goals for the season as Bayern Munich took another step towards the title with a comfortable 4-2 win at Bayer Leverkusen.