Robert Lewandowski scored his 24th and 25th Bundesliga goals of the season as Bayern Munich scraped past bottom side Paderborn to maintain their one-point lead at the top of the table.