Two days of strike action across the public sector are planned.