Google has faced questions from lawmakers on whether it intends to resume operating its search engine in China.