I agree with the people who suggest keeping the dogs separate from the chickens for now. Good fences prevent many problems!
A few ideas about teaching a dog to behave around chickens:
Teaching to dog some commands (like "heel" and "stay") and working with the dog near the chickens can help the dog learn to be calm around them.
Sometimes it helps to hold a chicken and let the dog sniff the chicken, but insist that the dog be gentle (no biting or grabbing.) That helps teach the dog that it is not allowed to grab the chicken.
If you are able to have the dog live in a pen beside the chickens, that might help it get used to leaving chickens alone. This depends on the dog, its age, and whether the dog is able to be calm in the pen. If the dog runs back and forth in the pen to "chase" the chickens through the fence, it would not help.
If the dog really likes to eat, you might be able to put a dish of dog food within sight of the chicken pen, then walk the dog to the food and let it eat. That gives it something pleasant (eating) while it can see the chickens but is not chasing them. If that goes well, you could have the dog dish a little closer to the chicken pen each day, to gradually increase the dog's ability to be calm and enjoy other pleasures (food) near the chickens.
Since you have two dogs, I would definitely start by working with each one separately, because it is easier to focus on how the dog is acting. Also, two dogs can get each other excited, and may be more likely to chase the chickens. (Everything is more fun with a friend!)
I do not think these ideas will make the dogs completely safe around chickens, but they might be a starting point, and from there you will have a better idea what will work and whether it will ever be possible.