We develop two types of graphene devices based on nanoelectromechanical systems (NEMS), that allows transport measurement in the presence of in situ strain modulation. Different mobility and conductance responses to strain were observed for single layer and bilayer samples. These types of devices can be extended to other 2D membranes such as MoS2, providing transport, optical or other measurements with in situ strain.