Robert Lewandowski scored his league-leading 26th goal of the season as table-topping Bayern Munich beat Union Berlin 2-0.