In his tweet, Modi said: "I bow to Sri Guru Gobind Singhji on his jayanti."
Guru Gobind Singh (1666-1708) is revered by the Sikh community as he founded the 'Khalsa Panth', the warrior Sikh community, at Anandpur Sahib in 1699.
The festivities this year coincided with the festivals of 'Lohri' and 'Makar Sankranti'.
Kovind also exchanged greetings on the occasion of various festivities celebrated across the nation today.
"As the sun enters Capricorn, and the weather begins to change and harvesting season begins in many parts of our country, greetings and good wishes to fellow citizens as we celebrate Lohri, Makar Sankranti, Bhogali Bihu, Pongal, Uttarayan and Poush Parbon," he said in another tweet.
"This festive occasion, which is celebrated in diverse yet similar ways across India, is a moment to celebrate the hard work and perseverance of all our people, especially farmers. May it herald prosperity and good fortune across the country."