1. Double tap to select multiple shapes. Tap on the "Group" button on the contextual menu to group all the shapes together.
  2. To Ungroup, simply select the group of shapes (with a double tap) and tap "Ungroup" on the contextual menu