Ab-Initio Simulations of Deformation Potentials and Electron Mobility in Chemically Modified Graphene and two-dimensional hexagonal Boron-Nitride