Accessing internal storage on Moto G, locked phone, broken screen
This cannot be done without unlocking the device. If the touchscreen still works try to boot the device, let it settle, press the power button to wake it up and then draw the pattern from memory. You can print a photo of the phone on the lockscreen and mark the point on the display as a reference.