Arduino two encoder reading

Pin change interrupts ?
Have you looked at this encoder library