1. The meaning: being very important to someone
What vous tient à cœur matters a lot to you. Careful: the subject is the important thing, the person is a pronoun (me, te, lui…).
2. Il me tient à cœur de + infinitive
For an action: il me tient à cœur de + infinitive. And in the plural, the verb agrees: les animaux lui tiennent à cœur.