Breathers, rogue waves and their dynamics in a (2+1)-dimensional nonlinear Schrödinger equation