For over a century the world's second most populous country was run by a commercial firm with headquarters in the City of London - the East India Company.