Without going into too much detail, it looks like you need to setup Mode 3 on each of the counters…
What frequencies are you looking for ?
What clock source are you going to use?
Setting the registers shouldn’t be too hard, with the CS, WR, and 8-bit data byte to write into the chip.