Indonesia plans to issue a regulation to set a minimum age for users of social media, a move aimed at protecting children in digital space, its communications minister has said.