I tried WSNdemo since i have to build mesh network not peer to peer..
Peer2Peer is just an application name, reflecting its function. ZigBee always works as a mesh.
Can I receive temperature value of Coordinator in router and set it as router's temperature value.
Yes, if you introduce corresponding modifications. They are not trivial, since WSNDemo is heavily architected to do what it does. And it is not easy to extend it with new functionality. That's why I'm telling you to look at simple applications, or simplify WSNDemo yourself.
There is not going to be an easy way out, ZigBee is complicated and you will have to understand how things work before you can do meaningful development.