Two parts of Flintshire are set to benefit from Welsh Government funding for Active and Sustainable Travel improvements.