Charge steering in ultrathin 2D nanomaterials for photocatalysis