India and China have decided to stop using the US dollar for import payments and will use their local currencies instead.