How to work in a group where the group members need to be taught everything?
You don't really have many options. As I see them:


You can talk to the instructor, explain the situation, and ask to move to another group
You can talk to the instructor, explain the situation, and ask to do the project individually
You can actually sit down and teach them


As far as which you should do, there are too many variable for us to answer here. However, it seems the best would be start with (1). If that fails, try (2). If that also fails, do (3) and try to find the pleasure in teaching others.