Electrostatic actuation and charge sensing in piezoelectric nanomechanical resonators with a two-dimensional electron gas