Free laptops, wi-fi and digital skills training will be offered to people in West Yorkshire to try to tackle unemployment.