这三句都正确.
to后跟的是动词原形:It's time to have lunch.
for后跟的是名词或动词的ing形式:it's time for lunch
it's time for having lunch
这样应该可以了吧