iOS: On the main screen, select the group then tap on the settings icon (cog icon). Tap on the name to edit it. Alternatively, you can also open the Settings tab > Lights then tap on the group to open its settings.
 

Android:
 Select the group on the main screen then open the settings (cog icon). Tap on the name to edit it.