A bank is set to close one branch and reduce hours at another in Caerphilly county.