When nervous, you can look at people who nod their heads in approval to gain more confidence. Otherwise, you should visually divide the audience into segments and switch between those segments during your speech to give each member in the audience that you were looking at them.