Can't shout fire in a theater
India has no first amendment but even in the US which does this would fall under the "Can't shout fire in a theater exception", i.e. speech that causes an imminent threat to the safety of others is not protected. Clearly this falls into that category, encouraging people to deliberately spread a deadly virus, even if done in jest, poses an imminent threat to the safety of others.