US firms Facebook, Google and Yahoo as well as other internet companies have been ordered by two Indian courts to remove material considered religiously offensive, the latest skirmish in a growing battle over website content in the world’s largest democracy.