The Prime Minister will leave for Bali on November 14 on a three-day visit to attend the summit, he said.
Modi is visiting Bali on the invitation of Indonesian President Joko Widodo.
Kwatra further said that Modi along with other world leaders, will deliberate on diverse issues related to energy, environment and digital transformation among others.
US President Joe Biden, British Prime Minister Rishi Sunak, Chinese President Xi Jinping and several other world leaders will attend the G20 summit.
In addition to this, Modi will also participate in several bilateral meetings with some world leaders, Kwatra said.
India will assume presidency of G20 from December 1, 2022 from Indonesia.