Original: She had been accompanying her husband whilst he was fighting a campaign in the Deccan Plateau.
Simplified: She had been with her husband as he was fighting a campaign in the Deccan Plateau.