To edit a contact, touch it then touch Menu > Edit. Touch a field to edit it.
If you need more help with your phone don't hesitate to post another question or you can just download the user manual from the Motorola Moto G page.