Union minister Ravi Shankar Prasad said that if social media companies didn't follow Indian laws, the government would take action.