How do I get split into two serial data of Processing?

I want to transfer an image of the webcam LED matrix of Arduino.
How do I get split into two serial data of Processing?

ex) Processing send data: LED number (0 ~ 144), Bright value (0 ~ 255)