Deductions & credits

The program will do this automatically for Federal.  Just enter the entire 1099-G.  See this re state:

How is my state taxing unemployment income? (intuit.com)