India has officially surpassed Japan to become the world's fourth-largest economy, according to new data from the International Monetary Fund.