On a class of nonlinear Schrödinger equations with nonnegative potentials in two space dimensions