Indian stock markets opened with gains on Thursday as the momentum building for a year-end rally.