Barcelona are set to finalise contract renewals for Daniel Alves and Seydou Keita within the coming weeks.