UK Chancellor George Osborne has warned the Indian government against retrospectively taxing overseas investments, arguing it could "damage" the country's business climate.