Even just smiling, making eye contact, and saying "Hi" to a girl you want to talk to can give her the impression that you're confident. Don't be afraid to use your shyness to your advantage. Since many girls are attracted to shy guys, use the fact you're shy as a way to introduce yourself.