Recently i was doing streaming replication, I lost the data folder on both the servers and left with WAL archives (some how).
Can any one tell me how to recover database with WAL archives.
I don;t think you can recover from only the WAL archives. However, if you have a base backup and a complete collection of WAL archives then recovery should be possible. At that point it's basically standard WAL recovery.
So I guess the first step is to determine if you have this base backup (you would have taken one during replication setup and hopefully were taking them from time to time).