You have to make an array which contains the 7-seg numbers masks, and according to your 7-seg display whether it's a common cathod/anode you fill that constant array.
When you out putdata to 4094, you have to write the bit on the port pin, clock it, and so on...
BTW, see what language you use to program the PIC, and there must be available examples on the net.
Hi,
With 16F84 you don't even need the 4094 and it can drive more than one display!
Here's a sample project that uses such technique.
BTW you have to compile the .asm file first using MPLAB and burn the HEX file into the 16F84. Good luck.