depending on how you'll connect these HC595. Let's say you connect them in cascade, you can use SHIFTOUT three time, one for each digit. that's the easyest way i can see.