Receiving data from two serial ports

I think I am not getting the issue here.

if(Serial1.available()>0)
{
   //Serial1 data available
}

will that tell you, the data is coming from Serial1?

@Robin's tutorial is a great start to write non blocking serial read. It might seems complex at first but that's the right approach.