It is a good thing that the government has given such a guideline. At least 2% to 3% must be given towards corporate social responsibility.
I don't think there is anything wrong with this decision of the government. I think this one decision is very good, that every corporation should spend at least some percentage of their profit for the welfare of others.
This has been said in our Dharma Shastras as well. Anyone who gets any profit has to share a percentage of it for the welfare of society.