If you are self-employed and paid them more than $600 each during the year, you should issue them forms 1099-MISC.
Whether you can deduct this expense from your income depends whether you are an employee or a self-employed person.
If you are an employee, this is a job-related expense and you cannot deduct it as the itemized deductions for job-related expenses subject to the 2% of AGI floor are suspended for expenses incurred after December 31, 2017 through 2025.
If you are self-employed, you can deduct this expense from your income and categorize it as Contracted labor.