Two attacks claimed by the Al-Shabaab group left more than 30 people dead in central Somalia on Wednesday night.