3. Qxg7# works also ;) (double solution)
Black can add a couple moves with useless sacrificial checks. 1...Nf3(or e2) and 2...Bxf2
Nf3 is better because if white doesn't take it, then the knight can go to g5. then the bishop takes it and g6! blocking out checkmate (before he couldnt do it because the pawn was pinned by the black bishop.
... and 3. Bxg7#