Australia has reached an agreement to help refuel Indian maritime patrol aircraft in the Indian Ocean.