Mobile data can not be enabled/disabled programmatically in android since android 4.4. The support to enable/disable mobile data from apps stopped due to security reasons.
So what you can do is showing message box to user asking the user to enable/disable the mobile data. You can also redirect to settings page from the app where user can enable/disable data. And once back to the app from settings, check for internet status and work accordingly.