Ultimately from Sanskrit मठग्राम (maṭhagrāma, “village of monasteries”). Compare Konkani मडगांव (maḍgā̃v).
मडगाव • (maḍgāv) ?