Who actually owns the farm? I would suggest putting up a solar powered electric fence that's is high enough that a chicken to go under but not a goat . If you can't afford that put up a inner door on the coops using weld wire with a hole just big enough for a chicken to get through.