simple question on serial communication between two Arduino UNOs

In case you haven't read it, this is a great tutorial - Serial Input Basics. Otherwise, you may need to include more information regarding your problem.