For NYPFL you should select the category "New York Mandatory Paid Family Leave Contributions." For NYSDI, you should select the category "New York Nonoccupational Diaability Fund tax." The deductions will then be included in the amount of state and local income tax on Schedule A line 5a. They are not shown separately. These categories are specifically for the NYPFL and NYSDI deductions.
The deductions will not change your refund if your total state and local tax on Schedule A line 5d is $10,000 or more, because the total deduction for state and local taxes is capped at $10,000. They also will not change your refund unless your total itemized deductions are more than your standard deduction.