Two members of Libya's interim parliament were shot and wounded when protesters stormed the General National Congress on Sunday, said the speaker of the assembly.