Input tax credits can be used as follows:
CGST input tax credits can only be used to pay CGST and IGST
SGST input tax credits can only be used to pay SGST and IGST
IGST input tax credits can be used to pay CGST, SGST, and IGST